#ifndef QUADRATIC_H
#define QUADRATIC_H

#include <OgreMath.h>
#include <utility>
#include "Function.h"
class Quadratic:public LinearFunction
{
    public:
        Quadratic(float h, float k, float a);
        Quadratic(float h, float k, float x, float y);
        virtual ~Quadratic();
        virtual float operator()(float x);
        std::pair<float,float> GetX(float y);
    protected:
        float m_a;
        float m_k;
        float m_h;
    private:
};

#endif // QUADRATIC_H
